package org.jumuning.redis.props;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "redis.message")
public class RedisMessageProperties {

    /**
     * Redis 订阅的频道名，默认 lora-4g
     */
    private String channel = "lora-4g";

    /**
     * 消息体对应的 Java 类型全限定名（可选，默认使用 DataVO）
     * 例如 com.example.app.dto.CustomDto
     */
    private String payloadType = "";

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getPayloadType() {
        return payloadType;
    }

    public void setPayloadType(String payloadType) {
        this.payloadType = payloadType;
    }
}

